package dshop.model.member;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.jfinal.plugin.activerecord.Db;

import appbase.jfinal.ext.BaseModel;

public class StoreCompany extends BaseModel<MemberVip> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7091005817715548545L;

	public static void setCheckStatus(int id, String checkStatus, String checkStatusExplain) {
		List<Object> params = new ArrayList<Object>();
		params.add(checkStatus);
		params.add(checkStatusExplain);
		params.add(new Date());
		params.add(id);
		Db.update("update store_company set check_status = ? , check_status_explain = ?,check_date_time = ? where store_id = ?" , params.toArray());
	}
}
